package demo3_i;

public class Test {
    public static void main(String[] args) {
        Computer computer = new Computer();
        computer.open();

        computer.useUSBDevice(new KeyBoard());
        computer.useUSBDevice(new Mouse());

        computer.close();
    }
}
